#ifndef __STDLIB_H__

#define __STDLIB_H__

#include "malloc.h"

#define	SYSTEM_REBOOT	(1UL << 0)

#define	SYSTEM_POWEROFF	(1UL << 1)

struct	buildincmd
{
	char *name;
	int (*function)(int,char**);
};

extern char* currentDir;

void memset(char* src,char value,unsigned long count);

int parseCommand(char* buf,int* argc,char*** argv);

int findCmd(char* cmd);




void run_command(int index,int argc,char **argv);
#endif